peek

fun peek(key: Long): Float?

EN Reads a stored cache value without computing a fallback. Returns null on a miss.

Bypass interaction: getOrPut intentionally does not write to the shard table for certain cheap calculation types when aspect ratio is off (see fast-path bypass in getOrPut). For those keys, peek will typically return null even after getOrPut returned a value — the result was computed but not persisted. Use getOrPut when you need the resolved float; use peek only to probe entries that were actually stored.

PT Lê um valor gravado no cache sem calcular fallback. Retorna null em miss.

Interação com bypass: para chaves que seguem o bypass de getOrPut, o valor não é guardado na tabela; peek costuma devolver null mesmo após um getOrPut bem-sucedido.